package com.fowo.api.model.monthly.cost.report.real;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Data;

/**
 * 成本月报 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Data
public class MonthlyCostReportRealImportPo {

  /** 会计月内码 */
  @ExcelProperty("会计月内码")
  @Size(max = 50, message = "会计月内码长度不能超过50")
  private String periodIdAccperiodMonth;

  /** 仓库内码 */
  @ExcelProperty("仓库内码")
  @Size(max = 50, message = "仓库内码长度不能超过50")
  private String stockIdName;

  /** 物料内码 */
  @ExcelProperty("物料内码")
  @Size(max = 500, message = "物料内码长度不能超过500")
  private String itemIdName;

  /** 店铺id */
  @ExcelProperty("店铺id")
  @Size(max = 50, message = "店铺id长度不能超过50")
  private String shopIdShopName;

  /** 库存金额 */
  @ExcelProperty("库存金额")
  @DecimalString(message = "库存金额小数格式不正确", label = "库存金额")
  private String stockAmount;

  /** 库存数量 */
  @ExcelProperty("库存数量")
  @LongString(message = "库存数量数值格式不正确", label = "库存数量")
  private String stockQty;

  /** 出库数量 */
  @ExcelProperty("出库数量")
  @DecimalString(message = "出库数量小数格式不正确", label = "出库数量")
  private String stockOutAmount;

  /** 出库数量 */
  @ExcelProperty("出库数量")
  @LongString(message = "出库数量数值格式不正确", label = "出库数量")
  private String stockOutQty;

  /** 入库数量 */
  @ExcelProperty("入库数量")
  @DecimalString(message = "入库数量小数格式不正确", label = "入库数量")
  private String stockInAmount;

  /** 入库数量 */
  @ExcelProperty("入库数量")
  @LongString(message = "入库数量数值格式不正确", label = "入库数量")
  private String stockInQty;

  /** 期数金额 */
  @ExcelProperty("期数金额")
  @DecimalString(message = "期数金额小数格式不正确", label = "期数金额")
  private String beginAmount;

  /** 期初数量 */
  @ExcelProperty("期初数量")
  @LongString(message = "期初数量数值格式不正确", label = "期初数量")
  private String beginQty;
}
